<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ejs-template</title>
</head>

<body>
  <h1>模板渲染字符串<%= a %></h1>
  <ul>
    <% for(let i=0;i<list.length;i++) { %>
    <li><%=list[i]%></li>
    <% } %> 
  </ul>
  <!-- 后台模板引擎ejs与前台模板引擎artTemplate的简单介绍 https://www.cnblogs.com/guchengnan/p/10665869.html -->
</body>

</html>